package com.StarStudio.Service;

import com.ruoyi.common.core.Entity.Login;
import com.ruoyi.system.api.model.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient(value = "ruoyi-auth")
public interface AuthService {

    @PostMapping("/checkUser")
    LoginUser checkUser(@RequestBody Login login);


}
